/*
 * @Author: your name
 * @Date: 2021-06-10 11:04:32
 * @LastEditTime: 2021-07-19 16:00:26
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: /fytsoa_3.1/admin-pro/src/main.js
 */
import Vue from 'vue'
import App from './App'
import i18n from './i18n'
import store from './store'
import router from './router'
import '@/vab'

/**
 * @description 正式环境默认使用mock，正式项目记得注释后再打包
 */
import { baseURL } from './config'
import { isExternal } from '@/utils/validate'

// if (process.env.NODE_ENV === 'production' && !isExternal(baseURL)) {
//   const { mockXHR } = require('@/utils/static')
//   mockXHR()
// }
Vue.config.productionTip = false
new Vue({
  el: '#app',
  i18n,
  store,
  router,
  render: (h) => h(App),
})
